package com.linln.admin.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "qiniu", ignoreUnknownFields = true)
@Component
public class QiNiuConfig {

    private String appKey;

    private String appSecret;

    private String bucketName1;

    private String domainHost;

    public String getAppKey() {
        return appKey;
    }

    public QiNiuConfig setAppKey(String appKey) {
        this.appKey = appKey;
        return this;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public QiNiuConfig setAppSecret(String appSecret) {
        this.appSecret = appSecret;
        return this;
    }

    public String getBucketName1() {
        return bucketName1;
    }

    public QiNiuConfig setBucketName1(String bucketName1) {
        this.bucketName1 = bucketName1;
        return this;
    }

    public String getDomainHost() {
        return domainHost;
    }

    public QiNiuConfig setDomainHost(String domainHost) {
        this.domainHost = domainHost;
        return this;
    }
}
